{"ast":null,"code":"import * as React from 'react';\nimport { ConfigConsumer } from '.';\nimport Empty from '../empty';\nconst defaultRenderEmpty = componentName => /*#__PURE__*/React.createElement(ConfigConsumer, null, _ref => {\n  let {\n    getPrefixCls\n  } = _ref;\n  const prefix = getPrefixCls('empty');\n  switch (componentName) {\n    case 'Table':\n    case 'List':\n      return /*#__PURE__*/React.createElement(Empty, {\n        image: Empty.PRESENTED_IMAGE_SIMPLE\n      });\n    case 'Select':\n    case 'TreeSelect':\n    case 'Cascader':\n    case 'Transfer':\n    case 'Mentions':\n      return /*#__PURE__*/React.createElement(Empty, {\n        image: Empty.PRESENTED_IMAGE_SIMPLE,\n        className: `${prefix}-small`\n      });\n    /* istanbul ignore next */\n    default:\n      // Should never hit if we take all the component into consider.\n      return /*#__PURE__*/React.createElement(Empty, null);\n  }\n});\nexport default defaultRenderEmpty;","map":{"version":3,"names":["React","ConfigConsumer","Empty","defaultRenderEmpty","componentName","createElement","_ref","getPrefixCls","prefix","image","PRESENTED_IMAGE_SIMPLE","className"],"sources":["/data/messenger.client/node_modules/antd/es/config-provider/defaultRenderEmpty.js"],"sourcesContent":["import * as React from 'react';\nimport { ConfigConsumer } from '.';\nimport Empty from '../empty';\nconst defaultRenderEmpty = componentName => /*#__PURE__*/React.createElement(ConfigConsumer, null, _ref => {\n  let {\n    getPrefixCls\n  } = _ref;\n  const prefix = getPrefixCls('empty');\n  switch (componentName) {\n    case 'Table':\n    case 'List':\n      return /*#__PURE__*/React.createElement(Empty, {\n        image: Empty.PRESENTED_IMAGE_SIMPLE\n      });\n    case 'Select':\n    case 'TreeSelect':\n    case 'Cascader':\n    case 'Transfer':\n    case 'Mentions':\n      return /*#__PURE__*/React.createElement(Empty, {\n        image: Empty.PRESENTED_IMAGE_SIMPLE,\n        className: `${prefix}-small`\n      });\n    /* istanbul ignore next */\n    default:\n      // Should never hit if we take all the component into consider.\n      return /*#__PURE__*/React.createElement(Empty, null);\n  }\n});\nexport default defaultRenderEmpty;"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,cAAc,QAAQ,GAAG;AAClC,OAAOC,KAAK,MAAM,UAAU;AAC5B,MAAMC,kBAAkB,GAAGC,aAAa,IAAI,aAAaJ,KAAK,CAACK,aAAa,CAACJ,cAAc,EAAE,IAAI,EAAEK,IAAI,IAAI;EACzG,IAAI;IACFC;EACF,CAAC,GAAGD,IAAI;EACR,MAAME,MAAM,GAAGD,YAAY,CAAC,OAAO,CAAC;EACpC,QAAQH,aAAa;IACnB,KAAK,OAAO;IACZ,KAAK,MAAM;MACT,OAAO,aAAaJ,KAAK,CAACK,aAAa,CAACH,KAAK,EAAE;QAC7CO,KAAK,EAAEP,KAAK,CAACQ;MACf,CAAC,CAAC;IACJ,KAAK,QAAQ;IACb,KAAK,YAAY;IACjB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,KAAK,UAAU;MACb,OAAO,aAAaV,KAAK,CAACK,aAAa,CAACH,KAAK,EAAE;QAC7CO,KAAK,EAAEP,KAAK,CAACQ,sBAAsB;QACnCC,SAAS,EAAG,GAAEH,MAAO;MACvB,CAAC,CAAC;IACJ;IACA;MACE;MACA,OAAO,aAAaR,KAAK,CAACK,aAAa,CAACH,KAAK,EAAE,IAAI,CAAC;EAAC;AAE3D,CAAC,CAAC;AACF,eAAeC,kBAAkB"},"metadata":{},"sourceType":"module"}